#ifndef MOVE_ACTION_HPP
#	define MOVE_ACTION_HPP

#	include "Chess.hpp"
#	include "Action.hpp"
#	include "Position.hpp"

class MoveAction : public Action
{
	public:
		
		MoveAction(Chess::Color color, const Position& pos1, const Position& pos2);
		MoveAction(const MoveAction& maction);
		virtual ~MoveAction();
		
		virtual void execute();	
		void		displayDbg();
		const Position&	getPos1() const;
		const Position& getPos2() const;
		Piece* getPieceCaptured() const;
		
	protected:
		Position		pos1;
		Position		pos2;
		Piece*			piece_captured;
};

#endif
